package com.atguigu.dao;

import com.atguigu.entity.Admin;
import com.atguigu.entity.HouseBroker;

import java.util.List;

public interface HouseBrokerDao extends BaseDao<HouseBroker>{
    List<HouseBroker> findHouseBrokerByHouseId(Long houseId);

    //查询除当前房源经纪人外的其他经纪人id值
    List<Long> findsHouseBrokerByHouseId(Long houseId);

    //2.在当前房源所有的经纪人id中排除Admin中的id值
    List<Long> findHouseBrokerIdByHouseId(Long houseId);
}